package com.hirsi.module.auth.convert;

import com.hirsi.common.db.developer.entity.Developer;
import com.hirsi.module.auth.vo.param.RegisterAccountParam;
import com.hirsi.module.auth.vo.result.RegisterAccountDetailResult;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface DeveloperAuthConvert {

    DeveloperAuthConvert INSTANCE = Mappers.getMapper(DeveloperAuthConvert.class);

    RegisterAccountDetailResult developerToRegisterAccountDetailResult(Developer developer);

    Developer registerAccountParamToDeveloper(RegisterAccountParam param);
}
